package com.wkbb.sports.dto;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.wkbb.sports.model.HlifeTrainGroup;
import com.wkbb.sports.model.HlifeTrainStudentAvg;
import com.wkbb.sports.utils.DoubleJacksonSerializer;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;

@Data
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonIgnoreProperties(ignoreUnknown = true)
public class TrainGroupDto {
    @ApiModelProperty(value = "训练ID")
    private Long trainId;
    @ApiModelProperty(value = "完成次数")
    private Integer totalCount;
    @ApiModelProperty(value = "标准成绩(平均耗时（毫秒）)")
    private Integer achievement;
    @ApiModelProperty(value = "平均时间(平均耗时（毫秒）)")
    private Long avgTime;
    @ApiModelProperty(value = "最快反应时间")
    private Long minTime;
    @ApiModelProperty(value = "最慢反应时间")
    private Long maxTime;
    @ApiModelProperty(value = "设备组别")
    private String groupName;
    @ApiModelProperty(value = "设备名称")
    private String deviceName;
    @ApiModelProperty(value = "设备跳绳详情")
    private String deviceDetails;
    @ApiModelProperty(value = "训练详情")
    private List<TrainStudentDetailDto> details;
}
